Enum NdOptionType

java.lang.Object
java.lang.Enum<NdOptionType>
com.cisco.pt.ipc.enums.NdOptionType
All Implemented Interfaces:
Serializable, Comparable<NdOptionType>, Constable

public enum NdOptionType extends Enum<NdOptionType>
An enum for the IPC's NdOptionType values
Author:
packettracerexapps@external.cisco.com
  • Enum Constant Details

    • PREFIX_INFO

      public static final NdOptionType PREFIX_INFO
    • REDIRECTED_HEADER

      public static final NdOptionType REDIRECTED_HEADER
    • MTU

      public static final NdOptionType MTU
    • UN_ASSIGNED

      public static final NdOptionType UN_ASSIGNED
    • RDNSS

      public static final NdOptionType RDNSS
  • Field Details

    • intValue

      protected int intValue
  • Method Details

    • values

      public static NdOptionType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static NdOptionType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getIntValue

      public int getIntValue()
    • fromIntValue

      public static NdOptionType fromIntValue(int value)
    • fromIntValue

      public static NdOptionType fromIntValue(Integer value)